package entity;

public class Found {
    // id自增
    private int foundID;

    // 物品名称
    private String found_goods_name;

    // 时间
    private String time;

    // 描述
    private String describe;

    // 地点
    private String place;

    // 分类
    private String sort;

    // 用户
    private int userID;

    public Found(String found_goods_name, String time, String describe, String place, String sort,int userID) {
        this.found_goods_name = found_goods_name;
        this.time = time;
        this.describe = describe;
        this.place = place;
        this.sort = sort;
        this.userID = userID;
    }

    public Found(int foundID, String found_goods_name, String time, String describe, String place, String sort, int userID) {
        this.foundID = foundID;
        this.found_goods_name = found_goods_name;
        this.time = time;
        this.describe = describe;
        this.place = place;
        this.sort = sort;
        this.userID = userID;
    }

    public int getFoundID() {
        return foundID;
    }

    public void setFoundID(int foundID) {
        this.foundID = foundID;
    }

    public String getFound_goods_name() {
        return found_goods_name;
    }

    public void setFound_goods_name(String found_goods_name) {
        this.found_goods_name = found_goods_name;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public int getUserID() {
        return userID;
    }

    public void setUserID(int userID) {
        this.userID = userID;
    }

    @Override
    public String toString() {
        return "Found{" +
                "foundID=" + foundID +
                ", found_goods_name='" + found_goods_name + '\'' +
                ", time='" + time + '\'' +
                ", describe='" + describe + '\'' +
                ", place='" + place + '\'' +
                ", sort=" + sort +
                ", userID=" + userID +
                '}';
    }
}
